package test.a02demo2;

public class Student extends Person{
    private String className;

    public Student() {
    }

    public Student(String id, int age, String className) {
        super(id, age);
        this.className = className;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public void study(){
        System.out.println("填写听课反馈");
    }
}
